package com.zhu.gmallpublisher.service.impl;

import com.zhu.gmallpublisher.bean.TradeProvinceOrderCt;
import com.zhu.gmallpublisher.mapper.TradeStatsMapper;
import com.zhu.gmallpublisher.service.TradeStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TradeStatsServiceImpl implements TradeStatsService {

    @Autowired
    private TradeStatsMapper tradeStatsMapper;

    @Override
    public List<TradeProvinceOrderCt> getTradeProvinceOrderCt(Integer date) {
        return tradeStatsMapper.selectTradeProvinceOrderCt(date);
    }
}
